package org.example.model.setmeal;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import org.example.model.common.baseClass.IdAndIsDeletedAndSortAnUserIntBase;
import org.example.model.dish.DishFlavor;

import java.util.List;

/**
 * 套餐管理
 */
@Data
@TableName("setmeal_basic_info")
public class SetmealBasic extends IdAndIsDeletedAndSortAnUserIntBase {
    //套餐名称
    private String SetmealName;
    //套餐分类id
    private int CategoryId;
    //套餐价格
    private double Price;
    //套餐图片
    private String Image;
    //售卖状态 1,启售；2,停售
    private int Status;
    //套餐描述
    private String Description;
    //套餐菜品关联关系列表
    @TableField(exist = false)
    List<SetmealDish> setmealDishes;
}
